<?php foreach($category->getPage() as $page): ?>
<h2 class="art-postheader"><?php echo $page->getName() ?></h2>
<div class="art-postcontent">
<p><?php echo $page->getContent() ?></p>
</div>
<?php foreach($page->getArticle() as $article): ?>
<h2 class="art-postheader"><?php echo $article->getName() ?></h2>
<div class="art-postcontent"><?php echo $article->getContent() ?></div>
<?php endforeach; ?>
<?php endforeach; ?>
